PARSER=parser
DUG=debug
HTTP=http_server

cc=g++

.PHONY:all
all:$(PARSER) $(DUG) $(HTTP)

$(PARSER):parser.cc
		$(cc) -o $@ $^  -lboost_system -lboost_filesystem -std=c++11

$(DUG):debug.cc
		$(cc) -o $@ $^ -ljsoncpp -std=c++11

$(HTTP):http_server.cc
		$(cc) -o $@ $^ -ljsoncpp  -lpthread -std=c++11
.PHONY:clean
clean:
		rm -f parser debug http_server
